package com.th.supcom.pds.internal.api.phamapply;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.th.supcom.pds.domain.vo.InpPhamApplyDetailVO;

public interface InPharmacyReturnService
{
    /** 日志记录器. */
    public static final Logger s_logger = LoggerFactory.getLogger (InPharmacyReturnService.class);

    /**
     * 通过传输电子退药单号、患者流水号对应值查询表记录.
     * 
     * @param applyNo 退药单号
     * @param paiVisitId 患者流水号
     * @param performedBy 执行科室
     * @return
     */
    public List <List <InpPhamApplyDetailVO>> findInpPhamApplyDetailByApplyNo (String applyNo, String patientId, String performedBy);

    /**
     * 通过电子退药单号修改明细为已退并记录修改条数.
     * 
     * @param orderExec 传输对象.
     * @return 条数.
     */
    public void modifyInPharmacyReturn (List <InpPhamApplyDetailVO> inpPhamApplyDetailVO, Map <String, Object> infoMap);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, XuNuo Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}
